/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package filesystem;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>File</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link filesystem.File#getParent <em>Parent</em>}</li>
 *   <li>{@link filesystem.File#getType <em>Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see filesystem.FilesystemPackage#getFile()
 * @model
 * @generated
 */
public interface File extends FilesystemElement {
	/**
	 * Returns the value of the '<em><b>Parent</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link filesystem.Folder#getFiles <em>Files</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' container reference.
	 * @see #setParent(Folder)
	 * @see filesystem.FilesystemPackage#getFile_Parent()
	 * @see filesystem.Folder#getFiles
	 * @model opposite="files" transient="false"
	 * @generated
	 */
	Folder getParent();

	/**
	 * Sets the value of the '{@link filesystem.File#getParent <em>Parent</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Parent</em>' container reference.
	 * @see #getParent()
	 * @generated
	 */
	void setParent(Folder value);

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * The literals are from the enumeration {@link filesystem.FileType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see filesystem.FileType
	 * @see #setType(FileType)
	 * @see filesystem.FilesystemPackage#getFile_Type()
	 * @model
	 * @generated
	 */
	FileType getType();

	/**
	 * Sets the value of the '{@link filesystem.File#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see filesystem.FileType
	 * @see #getType()
	 * @generated
	 */
	void setType(FileType value);

} // File
